const expressRouter = {
  path: 'express',
  name: 'Express',
  hidden: true,
  meta: { title: '快递模版' },
  component: () => import('@/views/operate/index'),
  redirect: '/operation/express/express_template',
  children: [
    {
      path: 'express_template',
      name: 'ExpressTemplate',
      meta: { title: '快递模版设置', noCache: true },
      component: () => import('@/views/operate/express')
    },
    {
      path: 'add_express_template',
      name: 'AddExpressTemplate',
      meta: { title: '新增快递模版', noCache: true },
      component: () => import('@/views/operate/express/template/add-template')
    },
    {
      path: 'edit_express_template',
      name: 'EditExpressTemplate',
      meta: { title: '编辑快递模版', noCache: true },
      component: () => import('@/views/operate/express/template/add-template')
    },
    {
      path: 'express_config',
      name: 'ExpressConfig',
      meta: { title: '快递配置', noCache: true },
      component: () => import('@/views/operate/express/template/express-config')
    },
    {
      path: 'add_company',
      name: 'AddCompany',
      meta: { title: '新增快递公司', noCache: true },
      component: () => import('@/views/operate/express/company/add-company')
    },
    {
      path: 'edit_company',
      name: 'EditCompany',
      meta: { title: '编辑快递公司', noCache: true },
      component: () => import('@/views/operate/express/company/add-company')
    }
  ]
}

export default expressRouter
